package cn.okuribito.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TestController {
    public TestController() {
    }

    @RequestMapping({"index"})
    public String index(Model model) {
        model.addAttribute("userName", "liubuhe");
        return "/index";
    }
}
